package com.shenganyuan.smac.common;

import android.os.Bundle;

import com.oklib.base.CoreBaseActivity;
import com.shenganyuan.smac.R;

/**
 * Created by Damon.Han on 2018/5/14 0014.
 *
 * @author Damon
 */
public class BaseActivity extends CoreBaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        overridePendingTransition(R.anim.slide_right_in, R.anim.slide_left_out);
        super.onCreate(savedInstanceState);
    }

    @Override
    public void finish() {
        super.finish();
        overridePendingTransition(R.anim.slide_left_in, R.anim.slide_right_out);
    }

    @Override
    public int getLayoutId() {
        return 0;
    }

    @Override
    public void initUI(Bundle savedInstanceState) {

    }
}
